package com.github.phoenics.teacher.itheima.netty.jdkSerializable;

import java.io.Serializable;

/**
 * @author Phoenics Chow
 * on 2020年02月16日
 */
public class Person implements Serializable {

    private static final long serialVersionUID = 8428798474641047929L;

    private String name;
    //是否单身
    private transient boolean singlehood;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isSinglehood() {
        return singlehood;
    }

    public void setSinglehood(boolean singlehood) {
        this.singlehood = singlehood;
    }
}